<template>
  <div class="indexbox">
    <div class="left"><Left></Left></div>
    <div class="right">
      <div class="b-l"><Top></Top></div>
      <div class="b-r">
        <router-view></router-view>
      </div>
    </div>
  </div>
</template>

<script setup lang="ts">
import Top from "@/components/index/top/index.vue";
//@ts-ignore
import Left from "@/components/index/left/index.vue";
</script>

<style scoped lang="scss">
.indexbox {
  width: 100%;
  height: 100%;
  background-color: #111315;
  display: flex;

  .left {
    width: 13.5vw;
    overflow: hidden;
  }
  .right {
    flex: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;

    .b-l {
      height: 50px;
      width: 100%;
    }
    .b-r {
      flex: 1;
      overflow: hidden;
    }
  }
}
</style>
